package com.kamistoat.ruoyiapisystem.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kamistoat.common.utils.PageUtils;
import com.kamistoat.common.utils.Query;

import com.kamistoat.ruoyiapisystem.dao.GenTableColumnDao;
import com.kamistoat.ruoyiapisystem.entity.GenTableColumnEntity;
import com.kamistoat.ruoyiapisystem.service.GenTableColumnService;


@Service("genTableColumnService")
public class GenTableColumnServiceImpl extends ServiceImpl<GenTableColumnDao, GenTableColumnEntity> implements GenTableColumnService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<GenTableColumnEntity> page = this.page(
                new Query<GenTableColumnEntity>().getPage(params),
                new QueryWrapper<GenTableColumnEntity>()
        );

        return new PageUtils(page);
    }

}